package com.rickpan.dto.request;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.List;

/**
 * 批量移动文件请求DTO
 */
public class BatchMoveRequest {
    
    @NotEmpty(message = "文件ID列表不能为空")
    private List<Long> fileIds;
    
    @NotNull(message = "目标父目录ID不能为空")
    private Long targetParentId;
    
    // 构造函数
    public BatchMoveRequest() {}
    
    public BatchMoveRequest(List<Long> fileIds, Long targetParentId) {
        this.fileIds = fileIds;
        this.targetParentId = targetParentId;
    }
    
    // Getter和Setter方法
    public List<Long> getFileIds() {
        return fileIds;
    }
    
    public void setFileIds(List<Long> fileIds) {
        this.fileIds = fileIds;
    }
    
    public Long getTargetParentId() {
        return targetParentId;
    }
    
    public void setTargetParentId(Long targetParentId) {
        this.targetParentId = targetParentId;
    }
    
    @Override
    public String toString() {
        return "BatchMoveRequest{" +
                "fileIds=" + fileIds +
                ", targetParentId=" + targetParentId +
                '}';
    }
}
